home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5146 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: trog.dra.hmg.gb!news
  2. From: icwhiting@dra.hmg.gb (David Spring)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Changing Colours
  5. Date: Mon, 11 Mar 1996 08:06:17 GMT
  6. Organization: Defence Research Agency
  7. Message-ID: <4i0n4b$k07@trog.dra.hmg.gb>
  8. Reply-To: icwhiting@dra.hmg.gb
  9. NNTP-Posting-Host: 146.80.246.31
  10. X-Newsreader: Forte Free Agent v0.55
  11.  
  12. I've got a simple problem:-
  13.  
  14. In assembler I have done the following:-
  15.  
  16.  
  17. Open Intuition.library
  18. Open Graphics.library
  19. OpenScreenTagList
  20. OpenWindowTagList
  21. SetRGB4
  22. CloseWindow
  23. CloseScreen
  24. Close Graphics.library
  25. Close Intuition.library
  26.  
  27. The problem is that the colour changes on the screen which executed
  28. the program. So if was run from Workbench then the colour would change
  29. on that screen, and from Monam the same thing happens.
  30.  
  31. I have tried using GetColourMap and FreeColourMap as a last resort
  32. before and after the SetRGB4 statement.
  33.  
  34. Can anyone tell me if the SetRGB32 statement has the same parameters
  35. as the SetRGB4 one?
  36.  
  37. Has anyone written any docs describing the new 3.x library calls?
  38.  
  39. Thanks in advance, David Spring.
  40.  
  41.  
  42.